#pragma once

#include <linux/major.h>

extern void hd_init();

#ifdef MAJOR_NR

#if (MAJOR_NR == HD_MAJOR)
#define DEVICE_NAME "harddisk"
#define DEVICE_INTR do_hd
#endif

#ifdef DEVICE_INTR
void (*DEVICE_INTR)(void) = NULL;
#endif

#endif
